package com.ruoyi.project.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 完成项目对象 project_completed
 * 
 * @author czj
 * @date 2025-01-06
 */
public class ProjectCompleted extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long completionId;

    /** 项目id */
    @Excel(name = "项目id")
    private Long projectId;

    /** 项目完成日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "项目完成日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date completionDate;

    /** 项目最终成果描述 */
    @Excel(name = "项目最终成果描述")
    private String finalOutcome;

    /** 项目总结文件路径 */
    @Excel(name = "项目总结文件路径")
    private String finalReportPath;

    /** 知识产权归属信息 */
    @Excel(name = "知识产权归属信息")
    private String ipOwnership;

    /** 后续计划 */
    @Excel(name = "后续计划")
    private String futurePlan;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updatedBy;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deletedBy;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deletedAt;

    /** 删除标记，0=未删除，1=已删除 */
    @Excel(name = "删除标记，0=未删除，1=已删除")
    private Integer isDeleted;

    /** 版本号 */
    @Excel(name = "版本号")
    private Long version;

    public void setCompletionId(Long completionId) 
    {
        this.completionId = completionId;
    }

    public Long getCompletionId() 
    {
        return completionId;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setCompletionDate(Date completionDate) 
    {
        this.completionDate = completionDate;
    }

    public Date getCompletionDate() 
    {
        return completionDate;
    }
    public void setFinalOutcome(String finalOutcome) 
    {
        this.finalOutcome = finalOutcome;
    }

    public String getFinalOutcome() 
    {
        return finalOutcome;
    }
    public void setFinalReportPath(String finalReportPath) 
    {
        this.finalReportPath = finalReportPath;
    }

    public String getFinalReportPath() 
    {
        return finalReportPath;
    }
    public void setIpOwnership(String ipOwnership) 
    {
        this.ipOwnership = ipOwnership;
    }

    public String getIpOwnership() 
    {
        return ipOwnership;
    }
    public void setFuturePlan(String futurePlan) 
    {
        this.futurePlan = futurePlan;
    }

    public String getFuturePlan() 
    {
        return futurePlan;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }
    public void setDeletedBy(String deletedBy) 
    {
        this.deletedBy = deletedBy;
    }

    public String getDeletedBy() 
    {
        return deletedBy;
    }
    public void setDeletedAt(Date deletedAt) 
    {
        this.deletedAt = deletedAt;
    }

    public Date getDeletedAt() 
    {
        return deletedAt;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }
    public void setVersion(Long version) 
    {
        this.version = version;
    }

    public Long getVersion() 
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("completionId", getCompletionId())
            .append("projectId", getProjectId())
            .append("completionDate", getCompletionDate())
            .append("finalOutcome", getFinalOutcome())
            .append("finalReportPath", getFinalReportPath())
            .append("ipOwnership", getIpOwnership())
            .append("futurePlan", getFuturePlan())
            .append("createdBy", getCreatedBy())
            .append("createdAt", getCreatedAt())
            .append("updatedBy", getUpdatedBy())
            .append("updatedAt", getUpdatedAt())
            .append("deletedBy", getDeletedBy())
            .append("deletedAt", getDeletedAt())
            .append("isDeleted", getIsDeleted())
            .append("version", getVersion())
            .toString();
    }
}
